package com.zh.repo.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.zh.repo.dao.basic.HrmResourceDao;
import com.zh.repo.entity.HrmResource;
import com.zh.repo.service.HrmResourceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Collections;
import java.util.List;

@Service
@DS("oasource")
public class HrmResourceServiceImpl implements HrmResourceService {
    @Resource
    private HrmResourceDao hrmResourceDao;
    @Override
    public List<HrmResource> findHrmResourceList() {
        return Collections.emptyList();
    }

    @Override
    public Integer getIDByName(String Name) {
        return hrmResourceDao.getIDByName(Name);
    }
}
